<?php

/* Function definition for banner_image (which isn't a WP plugin) */

function canvas_kiwi_banner($url_string = '') {
	parse_str($url_string, $vars);
	$link = $vars['link'];

?>
	<div class="shadow">
	<div class="firstPost-banner">
<?php
	if($link == '1') echo '<a href="'.get_bloginfo('siteurl').'">';
	echo '<img src="'.get_bloginfo('siteurl').'/'.$vars['banner_image'].'" alt="Banner Image" />';
	if($link == '1') echo '</a>';
?>
	</div>
	</div>
<?php
}
?>